package com.jiefeng.manager.queryRequest;

import com.jiefeng.manager.page.PageParam;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * Created by hts on 2016/6/26.
 * 商户搜索条件
 */
public class MerchantRequest extends PageParam {
    private Integer id;
    //商户号
    private String merchantId;
    //子商户号
    private String subMerchantId;
    //商户是否有效
    private int merhcnatStatus = -1;
    //是否直接透传
    private int beTransparent = -1;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getSubMerchantId() {
        return subMerchantId;
    }

    public void setSubMerchantId(String subMerchantId) {
        this.subMerchantId = subMerchantId;
    }

    public int getMerhcnatStatus() {
        return merhcnatStatus;
    }

    public void setMerhcnatStatus(int merhcnatStatus) {
        this.merhcnatStatus = merhcnatStatus;
    }

    public int getBeTransparent() {
        return beTransparent;
    }

    public void setBeTransparent(int beTransparent) {
        this.beTransparent = beTransparent;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}
